package org.rency.ues.dal.dao;

import java.util.List;
import java.util.Map;

import org.rency.ues.dal.entity.EncryptDataDO;
import org.springframework.stereotype.Repository;

@Repository("encryptDataDao")
public interface EncryptDataDao {

	public EncryptDataDO get(int id);
	
	public EncryptDataDO getByTicket(String ticket);
	
	public int delete(int id);
	
	public int deleteByTicket(String ticket);
	
	public int insert(EncryptDataDO entity);
	
	/**
	 * 获取到期数据
	 * </br>Created on 2016年5月4日
	 * @return
	 */
	public List<EncryptDataDO> getWaitExpireDate(Map<String, Object> param);
	
	public EncryptDataDO getByEncryptParam(Map<String, Object> param);
	
	
}